import requests

for page in range(1, 2):
    url = "https://www.pexels.com/zh-cn/api/v2/feed?seed=2024-10-25T18%3A16%3A21.124Z&per_page=12&seo_tags=true"
    params = {
        "seed": "2024 - 10 - 25T18 % 3A16 % 3A21.124Z",
        "per_page": 12,
        "seo_tags": "true",
    }
    headers = {
        "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36",
        'Secret-Key': 'H2jk9uKnhRmL6WPwh89zBezWvr',
        "Cookie": "_cfuvid=ndyaEt3zqo1gDCi8p7RuNGoEwhLjrhtXkwKKv_sQHA8-1729905737615-0.0.1.1-604800000; _sp_ses.9ec1=*; _ga=GA1.1.1863199233.1729905770; OptanonAlertBoxClosed=2024-10-26T01:23:23.195Z; __cf_bm=9GxVkPFKhgl.jNUB3nl2hw0AgnUWcwbvzY2bOgWRx24-1729907857-1.0.1.1-1Ibn_30L4FOGzQZg5Yjb4S8O6_09sTXD8VzS0Wm.MpuD8t0od7g_VDNgnN39YrFITdAs_EMNkPQIDXNnxeZkKg; _ga_8JE65Q40S6=GS1.1.1729905769.1.1.1729907879.0.0.0; _sp_id.9ec1=add08ff4-5355-4261-9eb6-fcfb00d8e0ae.1729905769.1.1729907880..59b37ff6-e066-4f6d-8ea3-5e05c28a00e4..0c58e696-918a-4574-b00a-26fe2e1ca720.1729905769205.6; OptanonConsent=isGpcEnabled=0&datestamp=Sat+Oct+26+2024+09%3A58%3A01+GMT%2B0800+(%E4%B8%AD%E5%9B%BD%E6%A0%87%E5%87%86%E6%97%B6%E9%97%B4)&version=202301.1.0&isIABGlobal=false&hosts=&landingPath=NotLandingPage&groups=C0001%3A1%2CC0002%3A1%2CC0003%3A1%2CC0004%3A1&geolocation=CN%3BHA&AwaitingReconsent=false; cf_clearance=cfXwesysnBnmisxQ919G8eD5DSW7Y.7Gzq09HeKZXSU-1729907881-1.2.1.1-XdfEBHq5bJBp29huo9a8FbGD2hrsQxUP9Tp8zomW6JJz3vC3rNIWXJnwQ9W0r4AJSkylU0MWN8PB.7dD2P3Vm5RcXzPMWpnhLnElq8LSiR1WoxTuOwn.MabbrogjorlSec.WufrtkwYpWpHjUv8wzgGEd6cDf1xX7LYie9io5FpB.o3NYWb2woV3DMYH3qhoA.j0.Mbv9ADuBwmiNyJ14VinZTNcNk03Ng0aFJ9caGGGdl8R8iqQaklcrwmFvRrOzwfI7OvomRX33AHGdnfg_k6T_M5UKqqzwVZXwGxZxFK5fb1AyIdI.o2X_JRctGSR.PErWmYIf1FxXXWVf.LzBXQlbEFUvY6onYEjV0MZajfJ_jydiX.Lwg8YmbLG3On2; _fbp=fb.1.1729907892624.198043787317005037",
        "x - client - type":"react"
    }

    response = requests.get(url, params=params, headers=headers)
    print(response.status_code)
    print(response.content.decode())
